package org.jcut.service;

import java.util.List;

import org.jcut.bean.Commodity;

public interface ICommodityService {
	
	    
	    int buyCommodity(Commodity commodity);
	    
	    int returnCommodity(Commodity commodity);
	    
	    List<Commodity> selectTypeCommodity(String t_name);
	    
	    List<Commodity> chooseCommodity(Commodity commodity);
	    
	    int addCommodity(Commodity commodity);
	    
	    int updateDetail(Commodity commodity);
	    
	    List<Commodity> adminSelect();
	    
	    int updateDis(Commodity commodity);
	    
	    int updateCommodity(Commodity commodity);
}
